package com.wujiansima.renyisima.demo.demo4;

public class Demo4 {
    public static void main(String[] args) {
        MyRunnable mr = new MyRunnable();
        Thread t = new Thread(mr);
        Thread t1 = new Thread(mr);
        t.setName("yihaoji");
        t1.setName("erhaoji");
        t.start();
        t1.start();
    }
}
